<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="<%=request.getContextPath()%>/style/default/style.css" rel="stylesheet" type="text/css"/>
<title>首页</title>
</head>
<body>
<div id="wrapper_top">
  <%@include file="common/_header.jsp" %>
</div>
<div id="wrapper_center">
  <div id="main">
    <div id="content">
      <div id="content_top">主题列表</div>
      <div id="content_list">
        <table id="topicTable" width="560px">
        <s:iterator value="topicList">
          <tr>
            <td rowspan="2"></td>
            <td><s:property value="title"/></td>
            <td rowspan="2"></td>
          </tr>
          <tr>
            <td><s:property value="user.displayName"/></td>
          </tr>
        </s:iterator>
        </table>
      </div>
      <div id="content_nav"></div>
      <div id="content_bottom"></div>
    </div>
    <div id="sidebar">
    <%
    if (!"Y".equals(isLogin)) {
    %>
      <div class="module_title"></div>
      <div class="module_content">
        <form action="loginUser.action" name="loginForm" method="post">
          <table>
            <tr>
              <td align="right">登录邮箱：</td>
              <td><input name="email" type="text" /></td>
            </tr>
            <tr>
              <td align="right">密码：</td>
              <td><input name="password" type="password" /></td>
            </tr>
            <tr>
              <td colspan="2" align="center">
                <input type="submit" name="Submit" value="提交" />
                <input type="button" name="Clear" value="重置" />
              </td>
            </tr>
          </table>
        </form>
      </div>
    <%
    }
    %>
    </div>
  </div>
</div>
<div id="wrapper_bottom">
  <%@include file="common/_footer.jsp" %>
</div>
</body>
</html>
